-- GENERATED SPELL FOR [Elder Mountain Boar] --


function spell0_1192(pUnit, Event) --@Rushing Charge,Self--
pUnit:FullCastSpellOnTarget(6268,pUnit)
pUnit:RegisterEvent('Sorts_1192', 3000, 1)
end

function Sorts_1192(pUnit, Event)
local choix_sorts_1192 = math.random(0, 0)
if choix_sorts_1192 == 0 then
pUnit:RegisterEvent('spell0_1192', 1, 1)
end
end

function mob1192_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1192', math.random(1500, 3000), 1)
end

function mob1192_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1192_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1192_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1192, 1, 'mob1192_Action')
RegisterUnitEvent(1192, 2, 'mob1192_Leave')
RegisterUnitEvent(1192, 3, 'mob1192_Kill')
RegisterUnitEvent(1192, 4, 'mob1192_Die')
